package com.aloda.vo.userAnswer;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserAnswerExportVO {
    /**
     * id
     */
    @ExcelProperty(value = "记录 ID", index = 0)
    @ColumnWidth(20)
    private Long id;

    /**
     * 应用 id
     */
    @ExcelProperty(value = "应用 ID", index = 1)
    @ColumnWidth(20)
    private Long appId;

    /**
     * 应用类型（0-得分类，1-角色测评类）
     */
    @ExcelProperty(value = "应用类型", index = 2)
    @ColumnWidth(20)
    private Integer appType;

    /**
     * 评分策略（0-自定义，1-AI）
     */
    @ExcelProperty(value = "评分策略", index = 3)
    @ColumnWidth(20)
    private Integer scoringStrategy;

    /**
     * 用户答案（JSON 数组）
     */
    @ExcelProperty(value = "用户答案", index = 4)
    @ColumnWidth(50)
    private String choices;

    /**
     * 评分结果 id
     */
    @ExcelProperty(value = "评分结果 ID", index = 5)
    @ColumnWidth(20)
    private Long resultId;

    /**
     * 结果名称
     */
    @ExcelProperty(value = "结果名称", index = 6)
    @ColumnWidth(30)
    private String resultName;

    /**
     * 结果描述
     */
    @ExcelProperty(value = "结果描述", index = 7)
    @ColumnWidth(50)
    private String resultDesc;

    /**
     * 结果图标
     */
    @ExcelProperty(value = "结果图标", index = 8)
    @ColumnWidth(50)
    private String resultPicture;

    /**
     * 得分
     */
    @ExcelProperty(value = "得分", index = 9)
    @ColumnWidth(20)
    private Integer resultScore;

    /**
     * 用户 id
     */
    @ExcelProperty(value = "用户 ID", index = 10)
    @ColumnWidth(20)
    private Long userId;

    /**
     * 用户账号
     */
    @ExcelProperty(value = "用户账号", index = 11)
    @ColumnWidth(30)
    private String userAccount;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间", index = 12)
    @ColumnWidth(30)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间", index = 13)
    @ColumnWidth(30)
    private LocalDateTime updateTime;

    /**
     * 是否删除
     */
    @ExcelProperty(value = "是否删除", index = 14)
    @ColumnWidth(20)
    private Integer deleteFlag;
}